package top.archiesean.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import top.archiesean.common.feign.annotation.EnableSeanFeignClients;
import top.archiesean.common.security.annotation.EnableResourceServer;

@EnableResourceServer
@EnableDiscoveryClient
@EnableSeanFeignClients(basePackages = {"top.archiesean.id.feign", "top.archiesean.admin.feign"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}